package com.nuaa.ange.filter;

import org.junit.jupiter.api.Test;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.test.context.SpringBootTest;

/**
 * @author 玦离
 * @description test sensitive filter
 * @date 2022/12/30 23:17
 */

@SpringBootTest
public class test01 {

    @Autowired
    private SensitiveFilter sensitiveFilter;

    @Test
    public void testSensitiveFilter() {
        String text = "赌博";
        text = sensitiveFilter.filter(text);
        System.out.println(text);
    }
}
